package com.esri.core.tasks.na;

/* loaded from: classes.dex */
public enum UTurnRestriction {
    ALLOW_BACKTRACK("esriNFSBAllowBacktrack"),
    AT_DEAD_ENDS_ONLY("esriNFSBAtDeadEndsOnly"),
    NO_BACKTRACK("esriNFSBNoBacktrack"),
    AT_DEAD_ENDS_AND_INTERSECTIONS("esriNFSBAtDeadEndsAndIntersections");
    
    String mType;

    UTurnRestriction(String str) {
        this.mType = str;
    }

    @Override // java.lang.Enum
    public String toString() {
        return this.mType;
    }

    public static UTurnRestriction get(String str) {
        UTurnRestriction[] values;
        for (UTurnRestriction uTurnRestriction : values()) {
            if (uTurnRestriction.mType.equals(str)) {
                return uTurnRestriction;
            }
        }
        return null;
    }
}
